﻿using System;
using System.Text;
using System.Collections.Generic;
using System.Linq;
using Microsoft.VisualStudio.TestTools.UnitTesting;
using UnitTests.Helpers;

namespace UnitTests.JavaScriptTests
{
    [TestClass]
    public class Filters
    {
        public Filters()
        {

        }

        private TestContext testContextInstance;

        public TestContext TestContext
        {
            get
            {
                return testContextInstance;
            }
            set
            {
                testContextInstance = value;
            }
        }

        [TestMethod]
        public void Can_Open_FileTypesModal()
        {
            //
            // TODO: Add test logic here
            //
        }

        [ClassInitialize()]
        public static void ClassInitialize(TestContext testContext) 
        {
            var jsHelper = new JavaScriptTestHelper(testContext);

            jsHelper.LoadFile("JavaScriptUnitTestFramework.js");
            jsHelper.LoadFile(@"..\..\..\WebUI\Scripts\FileTypesModal.js");
            jsHelper.LoadFile("FiltersTest.js");
        }
      
    }
}